<{include file="db:`$dirname`_header.html"}>

<div id="recListContent">


<h3><{$smarty.const._MD_MILEAGE_LANG_REC_LIST}> (<{$uid}>:<{$uid|xoops_user:uname}>)</h3>


<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>

<table class="outer">
  <thead>
    <tr>
      <th>
        <{$smarty.const._MD_MILEAGE_LANG_REC_ID}><br />
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=<{$smarty.const.MILEAGE_REC_SORT_KEY_REC_ID}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=-<{$smarty.const.MILEAGE_REC_SORT_KEY_REC_ID}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>

      <th>
        <{$smarty.const._MD_MILEAGE_LANG_POINT}><br />
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=<{$smarty.const.MILEAGE_REC_SORT_KEY_POINT}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=-<{$smarty.const.MILEAGE_REC_SORT_KEY_POINT}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>

      <th>
        <{$smarty.const._MD_MILEAGE_LANG_MILE_ID}><br />
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=<{$smarty.const.MILEAGE_REC_SORT_KEY_MILE_ID}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=-<{$smarty.const.MILEAGE_REC_SORT_KEY_MILE_ID}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>

      <th>
        <{$smarty.const._MD_MILEAGE_LANG_GET_DATE}><br />
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=<{$smarty.const.MILEAGE_REC_SORT_KEY_REG_UNIXTIME}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/up.gif" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
        <a href="<{$pageNavi->renderUrlForSort()}><{if $getQuery}>&amp;<{else}>?<{/if}><{$pageNavi->getPrefix()}>sort=-<{$smarty.const.MILEAGE_REC_SORT_KEY_REG_UNIXTIME}>"><img src="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/images/down.gif" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
      </th>

    </tr>
  </thead>

  <tbody>
    <{foreach item=obj from=$objects}>
      <tr class="<{cycle values='odd,even'}>">
        <td><{$obj->getShow('rec_id')}></td>
        <td><{$obj->getShow('point')}></td>
        <td><{$obj->getShow('mile_id')}> [<{$obj->mileName|xoops_escape}>]</td>
        <td><{$obj->get('reg_unixtime')|xoops_formattimestamp:l}></td>
      </tr>
    <{/foreach}>
  </tbody>

</table>

<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>

</div><{* <!--end of #recListContent--> *}>

<{include file="db:`$dirname`_footer.html"}>
